package com.zidongxiangxi.rabbit.producer.entity;

import java.util.Date;

/**
 * 顺序消息的发送记录实体类
 *
 * @author chenxudong
 * @date 2020/11/07
 */
public class ProducerSequence {
	/**
	 * Producer的自增id
	 */
	private Long id;

	/**
	 * 应用名称
	 */
	private String application;

	/**
	 * 消息分组，同分组内，消息序号按发送顺序递增
	 */
	private String groupName;

	/**
	 * 消息id
	 */
	private String messageId;

	/**
	 * 创建时间
	 */
	private Date createTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getApplication() {
		return application;
	}

	public void setApplication(String application) {
		this.application = application;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getMessageId() {
		return messageId;
	}

	public void setMessageId(String messageId) {
		this.messageId = messageId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
}
